ExamPlay Dark Logo
Đăng nhập

Computer Science for IGCSE & O level - Data Representation (Section 5 - No. 1)

What is a fundamental difference between logical and arithmetic bit shifts?
Logical shifts always shift right, arithmetic shifts always shift left.
Arithmetic shifts preserve the sign of the number.
Logical shifts preserve the sign of the number.
Arithmetic shifts are used for multiplication.

Giải thích

Arithmetic shifts consider the sign bit, while logical shifts do not.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc